﻿using FreeSql.DatabaseModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.Main
{

    [JsonObject(MemberSerialization.OptIn), Table(Name = "t_DestroySet", DisableSyncStructure = true)]
    public partial class TDestroySet
    {

        /// <summary>
        /// 主键唯一标识
        /// </summary>
        [JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 防区类型Id
        /// </summary>
        [JsonProperty, Column(Name = "areaTypeId")]
        public long? AreaTypeId { get; set; }

        /// <summary>
        /// 录入时间
        /// </summary>
        [JsonProperty]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 线路路径
        /// </summary>
        [JsonProperty, Column(StringLength = -2)]
        public string Path { get; set; }

        /// <summary>
        /// 设备终端Id
        /// </summary>
        [JsonProperty, Column(StringLength = -2)]
        public string TerminalId { get; set; }

    }

}
